#!/usr/bin/python
# author dennis
# 2022年06月15日
# !/usr/bin/python
# author dennis
# 2022年06月15日
import time
import threading


def coding(num):
    for i in range(num):
        print("coding...")
        time.sleep(0.2)


def music(count):
    for i in range(count):
        print("music...")
        time.sleep(0.2)


if __name__ == '__main__':
    coding_thread = threading.Thread(target=coding,args=(3,))
    music_thread = threading.Thread(target=music,kwargs={"count": 1})

    coding_thread.start()
    music_thread.start()
